package net.togogo.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description TODO
 * @Author 没有脑袋
 * @Date 2025/8/25 15:28
 */
@FeignClient(name="product-service")
public  interface  ProductService {

    //调用的请求路径
    @GetMapping( "/product/{oid}")
    public  String findProductsByOid(@PathVariable("oid") Integer oid);
}
